package com.tequila.core.service;

import com.tequila.domain.dto.CardCouponDto;
import com.tequila.domain.entity.CardCoupon;
import com.tequila.domain.query.CardCouponQuery;

import fe.core.Pagination;

import java.util.List;

public interface CardCouponService {

    public Pagination<CardCouponDto> queryPageListByParam(CardCouponQuery query);

    public CardCouponDto queryById(Long id);

    public List<CardCouponDto> queryByIdList(List<Long> idList);

    public List<CardCouponDto> queryListByParam(CardCouponQuery query);

    public Long insert(CardCoupon entity);

    public Long save(CardCoupon entity);

    public int updateById(CardCoupon param);

    public int updateSelectiveById(CardCoupon param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);
}
